package com.qf.mybatis01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
/*
    @Data注解 会为当前实体类自动生成 setter,getter,ToString
    @AllArgsConstructor 为当前实体类生成一个 全参的构造函数
    @NoArgsConstructor 为当前实体类生成一个 无参的构造函数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String name;
    private String password;
    private String sex;
    private Date birthday;
    private Date registTime;
    private String auth;

}
